package com.ywh.auth;

import com.ywh.auth.component.NoSSLVerifyUtilities;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableOAuth2Client;

@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
public class OAuthClientApplication {

	public static void main(String[] args) {
		NoSSLVerifyUtilities.trustAllHostnames();
		NoSSLVerifyUtilities.trustAllHttpsCertificates();
		SpringApplication.run(OAuthClientApplication.class, args);
	}

}
